<%@ page import="Worker.WorkerDao" %>
<%@ page import="Worker.WorkerEnity" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2020/8/16
  Time: 20:40
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>教务处</title>
    <link href="/SystemerNav/SystemerNav.css" rel="stylesheet" type="text/css">
</head>
<%
    WorkerDao workerDao=new WorkerDao();
    WorkerEnity workerEnity=workerDao.getWorker(request.getParameter("workerNo"));
%>

<body background="/LoginInterface/loginFace.jpg">
<div class="container">
    <div class="top">
        欢迎:<%=workerEnity.getWorkerName()%>&nbsp;&nbsp;教务员<br>
        登陆时间
        <p id="nowTimes"></p>

    </div>
    <div class="bottom">
        <a href="FindCourse.jsp?workerNo=<%=workerEnity.getWorkerNo()%>">课程管理</a><br>
        <a href="TeacherLessons.jsp?post=教师">任课教师</a>

    </div>
    </div>
</body>
<script type="text/javascript">
    var now=new Date();
    var year=now.getFullYear();
    var month=now.getMonth()+1;
    var date=now.getDate();
    var hour=now.getHours();
    var minutes=now.getMinutes();
    var seconds=now.getSeconds();
    document.getElementById("nowTimes").innerHTML=year+'年'+month+"月"+date+"日"+hour+"时"+minutes+"分"+seconds+"秒";
</script>
</html>
